package com.molin.API.loginInterface;

/*
实现用户登录类
*/
public class loginDemo1 {
    //默认信息
    private String username = "admin";
    private String password = "admin123";
    private String authcode = "gPass";

    public boolean login(String username, String password) {
        return this.username.equals(username) && this.password.equals(password);
    }

    public boolean authCode(String authcode) {
        return this.authcode.equalsIgnoreCase(authcode);
    }
}
